package com.mybatis_plusnew.mybatis_plusnew.service.imp;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mybatis_plusnew.mybatis_plusnew.mapper.UserMapper;
import com.mybatis_plusnew.mybatis_plusnew.pojo.User;
import com.mybatis_plusnew.mybatis_plusnew.service.IUserService;
import org.springframework.stereotype.Service;
@DS("master") //指定所操作的数据源
@Service
//implements：实现类实现接口; extends：继承自定义扩展接口方法
public class UserServiceImp extends ServiceImpl<UserMapper, User> implements IUserService {

}
